package org.zb.object;

import org.newdawn.slick.geom.Vector2f;
import org.zb.controller.GameController;

public class SmartMovingObject extends MovingObject {

	@Override
	public Vector2f calculateMovement() {
		super.calculateMovement();
		
		if(!GameController.movement.canMove(this))
			GameController.movement.calculateAlternativeMovement(this);
		
		return movement;
	}
	
}
